package example.com.nexd.collectionsdk.sdk.collector.core;

import android.content.Context;
import android.hardware.Sensor;

import example.com.nexd.collectionsdk.sdk.collector.CollectorConfig;
import example.com.nexd.collectionsdk.sdk.collector.listener.SensorCollectorResultListener;


/**
 * Created by xu on 2015/8/21.
 */
public class GameRotationVectorCollectorTask extends SensorCollectorTask {

    protected GameRotationVectorCollectorTask(Context context, SensorCollectorResultListener sensorCollectorResultListener, CollectorConfig collectorConfig) {
        super(context, sensorCollectorResultListener, collectorConfig);
    }

    public GameRotationVectorCollectorTask(Context context, SensorCollectorResultListener sensorCollectorResultListener) {
        super(context, sensorCollectorResultListener, null);
    }

    public GameRotationVectorCollectorTask(Context context, CollectorConfig collectorConfig) {
        super(context, null, collectorConfig);
    }


    @Override
    protected int getSensorType() {
        return Sensor.TYPE_GAME_ROTATION_VECTOR;
    }
}
